import axios from '../axios';

export const list = data =>axios({
    url: "vehicle/driver/findAll",
    method: "POST"
});


export function addDriver(data){
return axios({
    url: "vehicle/driver/insertAMsg",
    method: "POST",
    data:data
})

}
export const delADriver = data =>axios({
    url: "vehicle/driver/updateAMsg",
    method: "POST",
    //传参
});
export const updateADriver = data =>axios({
    url: "vehicle/driver/deleteById/" + "",
    method: "get"
});

